package com.cqupt.medical.entity.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.Value;

import java.io.Serializable;

/**
 * <p>@author Jay</p>
 * <p>@date 2020/7/26 14:21</p>
 * <p>@Description:</p>
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel
@TableName("drug")
public class Drug implements Serializable {

    @TableId
    @ApiModelProperty("序号")
    private Integer id;

    @ApiModelProperty("名字")
    private String name;

    @ApiModelProperty("编号")
    private String code;

    @ApiModelProperty("规格")
    private String specification;

    @ApiModelProperty("单位")
    private String unit;

    @ApiModelProperty("总额")
    private Integer total;

    @ApiModelProperty("单价")
    private Integer price;

    @ApiModelProperty("数量")
    private Integer number;

    @ApiModelProperty("医嘱")
    private String advice;



}
